/**
 * 
 */
package de.mbenning.fsim.web.ajax;

import java.util.List;

import de.mbenning.fsim.domain.Kontinent;
import de.mbenning.fsim.persistence.dao.interfaces.IMainDAO;

/**
 * @author Martin.Benning
 *
 */
public class KontinentAjaxHandler {
	
	private IMainDAO mainDAO;
	
	public List<Kontinent> findAllKontinent() {
		return mainDAO.findAllKontinent();
	}
	
	public Kontinent getKontinentByName(String name) {
		return mainDAO.getKontinentByName(name);
	}

	public IMainDAO getMainDAO() {
		return mainDAO;
	}

	public void setMainDAO(IMainDAO mainDAO) {
		this.mainDAO = mainDAO;
	}

}
